]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionSystem: Add method for opening extension prefs
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 1 Apr 2020 19:04:03 +0000 (21:04 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 3 Apr 2020 13:23:26 +0000 (15:23 +0200)
commit45bc850715f875aca705ddccc39b9cc46e757bd1
tree02688aa2968a6b3a17cfb0f29d0ef21be620c051
parent51a913730e0a87057f723a84b1b1ff1f7ef335de
extensionSystem: Add method for opening extension prefs

Extension that want to expose their own preferences (for example as menu
items) do that by passing their UUID to gnome-shell-extension-prefs.

But since 3.36.1 the app is optional and no longer accepts arguments on
the command line. To adjust, extensions now need to make a D-Bus call
the extensions portal, just like the app and gnome-shell.

We will add a convenience method for that purpose, so it makes
sense to share the existing code. As it's extension-related, the
extension manager looks like the right place ...

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1163
js/ui/extensionSystem.js
js/ui/shellDBus.js